package com.psy.counseling.utils;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.UUID;
/**
 * @Author 梁学儒
 * @Date 2022/6/2 9:34
 * @Version 1.0
 */
public class IDUtils {

    public static final Logger logger = LoggerFactory.getLogger(IDUtils.class);

    public static String getUUID(){
        return UUID.randomUUID().toString().replace("-","");
    }

    public static void main(String[] args) {

        System.out.println(getUUID());
        logger.debug("test");
    }

}